<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * MAPI COA Project
 * form.php
 * @author ranuandra
 *
 * 24 Jul 2011
 * tags
 */

?>

	<img id="top" src="<?php echo URL::base()?>assets/images/top.png" alt="">
	<div id="form_container">
		<h1><a>
			<?php 
			if(isset($title))
			{
				echo $title;
			}
			?>
		</a></h1>
		<?php echo Form::open(URL::base().'productspec/save', array('id'=>'validateform', 'class'=>'appnitro')); ?>
		<div class="form_description">
			<h2>
			<?php 
			if(isset($title))
			{
				echo $title;
			}
			?>
			</h2>
			<p>
			<?php 
			if(isset($desc))
			{
				echo $desc;
			}
			?>
			</p>
		</div>						
			<ul>
			
				<li id="li_1" >
					<label class="description" for="element_1">Product Name </label>
					<div>
						<?php 
							echo Form::select('product_id', $products, $form['product_id'], array('class'=>'element select medium'));
						?>
					</div> 
					</li>		
				<li id="li_2" >
					<label class="description" for="element_2">Customer Name </label>
					<div>
						<?php 
							echo Form::select('customer_id', $customers, $form['customer_id'], array('class'=>'element select medium'));
						?>
					</div> 
				</li>
				<li id="li_3" >
					<label class="description" for="element_3">Cu </label>
					<div>
						<?php 
							echo Form::input('cu', $form['cu'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_4" >
					<label class="description" for="element_4">si </label>
					<div>
						<?php 
							echo Form::input('si', $form['si'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_5" >
					<label class="description" for="element_5">Fe </label>
					<div>
						<?php 
							echo Form::input('fe', $form['fe'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_6" >
					<label class="description" for="element_6">Zn </label>
					<div>
						<?php 
							echo Form::input('zn', $form['zn'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_7" >
					<label class="description" for="element_7">Mn </label>
					<div>
						<?php 
							echo Form::input('mn', $form['mn'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_8" >
					<label class="description" for="element_8">Mg </label>
					<div>
						<?php 
							echo Form::input('mg', $form['mg'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_9" >
					<label class="description" for="element_9">Ni </label>
					<div>
						<?php 
							echo Form::input('ni', $form['ni'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_10" >
					<label class="description" for="element_10">Ti </label>
					<div>
						<?php 
							echo Form::input('ti', $form['ti'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_11" >
					<label class="description" for="element_11">Pb </label>
					<div>
						<?php 
							echo Form::input('pb', $form['pb'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_12" >
					<label class="description" for="element_12">Sn </label>
					<div>
						<?php 
							echo Form::input('sn', $form['sn'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_13" >
					<label class="description" for="element_13">Cr </label>
					<div>
						<?php 
							echo Form::input('cr', $form['cr'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_14" >
					<label class="description" for="element_14">Ca </label>
					<div>
						<?php 
							echo Form::input('ca', $form['ca'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_15" >
					<label class="description" for="element_15">Bi </label>
					<div>
						<?php 
							echo Form::input('bi', $form['bi'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_16" >
					<label class="description" for="element_16">Hg </label>
					<div>
						<?php 
							echo Form::input('hg', $form['hg'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_17" >
					<label class="description" for="element_17">Cd </label>
					<div>
						<?php 
							echo Form::input('cd', $form['cd'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_18" >
					<label class="description" for="element_18">Al </label>
					<div>
						<?php 
							echo Form::input('al', $form['al'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_19" >
					<label class="description" for="element_19">H2Gas </label>
					<div>
						<?php 
							echo Form::input('h2gas', $form['h2gas'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_20" >
					<label class="description" for="element_20">Sludge </label>
					<div>
						<?php 
							echo Form::input('slude', $form['sludge'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li id="li_21" >
					<label class="description" for="element_21">KValues </label>
					<div>
						<?php 
							echo Form::input('kvalues', $form['kvalues'], array('class'=>'element text medium'));
						?>
					</div> 
				</li>
				<li class="buttons">  
					<input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
				</li>
			</ul>
<?php 
	Form::close();
?>
	</div>
	<img id="bottom" src="<?php echo URL::base()?>assets/images/bottom.png" alt="">

